package com.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the PURCHASE_DETAILS database table.
 * 
 */
@Entity
@Table(name="PURCHASE_DETAILS")
@NamedQuery(name="PurchaseDetail.findAll", query="SELECT p FROM PurchaseDetail p")
public class PurchaseDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="PURCHASE_DETAILS_PURDID_GENERATOR", sequenceName="SEQ",initialValue=1,allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="PURCHASE_DETAILS_PURDID_GENERATOR")
	private long purdid;

	@Column(name="\"COUNT\"")
	private BigDecimal count;

//	private BigDecimal d;

	@Column(name="\"In\"")
	private BigDecimal in;

	private BigDecimal notin;

	private BigDecimal num;

	private BigDecimal price;

	@Column(name="PRODUCT_STANDARD_ID")
	private BigDecimal productStandardId;

	@Column(name="PURCHASE_ID")
	private BigDecimal purchaseId;

	private String remarks;

	public PurchaseDetail() {
	}

	public long getPurdid() {
		return this.purdid;
	}

	public void setPurdid(long purdid) {
		this.purdid = purdid;
	}

	public BigDecimal getCount() {
		return this.count;
	}

	public void setCount(BigDecimal count) {
		this.count = count;
	}

	public BigDecimal getIn() {
		return this.in;
	}

	public void setIn(BigDecimal in) {
		this.in = in;
	}

	public BigDecimal getNotin() {
		return this.notin;
	}

	public void setNotin(BigDecimal notin) {
		this.notin = notin;
	}

	public BigDecimal getNum() {
		return this.num;
	}

	public void setNum(BigDecimal num) {
		this.num = num;
	}

	public BigDecimal getPrice() {
		return this.price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getProductStandardId() {
		return this.productStandardId;
	}

	public void setProductStandardId(BigDecimal productStandardId) {
		this.productStandardId = productStandardId;
	}

	public BigDecimal getPurchaseId() {
		return this.purchaseId;
	}

	public void setPurchaseId(BigDecimal purchaseId) {
		this.purchaseId = purchaseId;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

}